package com.arturjaneczko.view.impl.clipboard._component;

import java.awt.Dimension;
import java.awt.FlowLayout;

import javax.swing.BorderFactory;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.SwingConstants;

import com.arturjaneczko.model.impl.EClipboardDataType;

public class ClipboardObjectPreviewView extends JPanel {

	public ClipboardObjectPreviewView(EClipboardDataType clipboardDataType) {
		super();
		JLabel label = new JLabel();
		label.setHorizontalAlignment(SwingConstants.CENTER);
		label.setText("preview");
		label.setOpaque(true);
		label.setBackground(Color.NOTE.getColor());
		label.setForeground(Color.TEXT.getColor());
		label.setPreferredSize(new Dimension(50, 20));
		
		FlowLayout fl = (FlowLayout) this.getLayout();
		fl.setHgap(0);
		fl.setVgap(0);
		this.setLayout(fl);
		this.add(label);
	}

}
